<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3d旋转</title>
    <style>
        body{
            perspective: 500px;
        }
        img{
            display: block;
            margin: 100px auto;
            /* transform: rotateX(60deg); */
            transition: all 2s;
            transform-origin: left;
        }
        img:hover{
            transform: rotateY(45deg);
        }
    </style>
</head>
<body>
    <img src="./image/meinv.png" alt="" width="500px">
</body>
</html>